section .data

global reversa

section .text

reversa:
	push ebp
	mov ebp, esp
	
	mov eax, [ebp + 8]

	xor ecx, ecx

    mov bl,[eax+3]
    xchg bl,[eax]
    mov [eax+3],bl
    mov bl,[eax+2]
    xchg bl,[eax+1]
    mov [eax+2],bl

;mov byte [eax+5],0x1

fin:
	mov eax, ecx
	pop ebp
	ret
